import request from '@/utils/axios';
import appName from "@/api/appName";

export function queryListForFather(params) {
    return request({
      url: appName.NB+'/maintain/cancelReason/queryList',
      method: 'post',
      data: params
    })
}
export function update(params) {
    return request({
      url: appName.NB+'/maintain/cancelReason/update',
      method: 'post',
      data: params
    })
}
export function add(params) {
    return request({
      url: appName.NB+'/maintain/cancelReason/add',
      method: 'post',
      data: params
    })
}
export function deleteFather(params) {
    return request({
      url: appName.NB+'/maintain/cancelReason/delete',
      method: 'post',
      data: params
    })
}